﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Goods : MonoBehaviour
{
    new public string name;
    public int price;
    public int Number;
    public bool isMusic;

    private bool isPurchased;

    void Awake()
    {
        transform.Find("Tex_Price").GetComponent<Text>().text = price.ToString();
        transform.Find("Tex_Name").GetComponent<Text>().text = name.ToString();
    }
    
}
